package com.cropdoctor.model.constants;

public class VegeFruTableConstants {
    public static final String MAPPING_TEMPLATE = "{\n" +
            "    \"mappings\": {\n" +
            "      \"properties\": {\n" +
            "        \"name\": {\n" +
            "          \"type\": \"text\",\n" +
            "          \"analyzer\": \"ik_max_word\",\n" +
            "          \"search_analyzer\": \"ik_smart\",\n" +
            "          \"copy_to\": \"all\"\n" +
            "        },\n" +
            "        \"url\": {\n" +
            "          \"type\": \"keyword\",\n" +
            "          \"index\":false\n" +
            "        },\n" +
            "        \"mt\": {\n" +
            "          \"type\": \"keyword\",\n" +
            "          \"copy_to\": \"all\"\n" +
            "        },\n" +
            "        \"st\": {\n" +
            "          \"type\": \"keyword\",\n" +
            "          \"copy_to\": \"all\"\n" +
            "        },\n" +
            "        \"alias\":{\n" +
            "          \"type\": \"text\",\n" +
            "          \"analyzer\": \"ik_max_word\",\n" +
            "          \"search_analyzer\": \"ik_smart\",\n" +
            "          \"copy_to\": \"all\"\n" +
            "        },\n" +
            "        \"all\": {\n" +
            "          \"type\": \"text\",\n" +
            "          \"analyzer\": \"ik_max_word\",\n" +
            "          \"search_analyzer\": \"ik_smart\"\n" +
            "        }\n" +
            "      }\n" +
            "    }\n" +
            "  }";
}
